<%@ page isELIgnored="false" language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<base href="/ssm/" />
<meta charset="UTF-8">
<title>Insert title here</title>
<script src="js/jquery.min.js"></script>
</head>
<body>
	<h1>我的500页</h1>
	<div style="color:red"> ${errmsg}</div>
	
	<button>测试</button>
	
	<script type="text/javascript">
	$(function(){
		$("button").click(function(){
			$.ajax({
  			  url:"testnull",
  			  type:"get",
  			  dataType:'json',
  			  success: function(data){
	   			   console.log(data);
	   		  },
	   		  error:function(data){
	   			   console.log(data);
	   		  }
  		    });
			
		});
	});
	</script>
</body>
</html>